﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Shapes;

namespace Sabloane_de_proiectare.Command
{
    class RightBottomTurnRail : Canvas 
    {
        public RightBottomTurnRail()
        {
            Rectangle line1 = new Rectangle();
            line1.Height = 5;
            line1.Width = 40;
            line1.Fill = new SolidColorBrush(Colors.Black);
            Canvas.SetLeft(line1, 10);
            Canvas.SetTop(line1, 10);

            Rectangle line2 = new Rectangle();
            line2.Height = 40;
            line2.Width = 5;
            line2.Fill = new SolidColorBrush(Colors.Black);
            Canvas.SetTop(line2, 10);
            Canvas.SetLeft(line2, 10);

            Rectangle line3 = new Rectangle();
            line3.Height = 15;
            line3.Width = 5;
            line3.Fill = new SolidColorBrush(Colors.Black);
            Canvas.SetLeft(line3, 35);
            Canvas.SetTop(line3, 35);

            Rectangle line4 = new Rectangle();
            line4.Height = 5;
            line4.Width = 15;
            line4.Fill = new SolidColorBrush(Colors.Black);
            Canvas.SetTop(line4, 35);
            Canvas.SetLeft(line4, 35);

            this.Children.Add(line1);
            this.Children.Add(line2);
            this.Children.Add(line3);
            this.Children.Add(line4);
        }
    }
}
